/**
 * @copyright 邻校 v0.1.0Beta
 * @author cicime on 2017-7-17 21:18:20
 */
import Vue from 'vue'
import FastClick from 'fastclick'
import App from './App'
import router from './router'
import store from './store'
import VueResouse from 'vue-resource'
import './style/index.less'

Vue.use(VueResouse)
Vue.http.options.emulateJSON = true;
Vue.config.productionTip = false
FastClick.attach(document.body)

router.beforeEach((to, from, next) => {
  document.title = to.meta.title
  next()
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app-box')
